GetItemArray returns an array of 32-bit integers containing all of the document ids selected in a search filter.
[id(15), helpstring("method GetItemArray - Returns an array of integers containing the Doc Ids of selected documents in the index.")]
HRESULT GetItemArray([in] LONG iIndex, [out,retval] VARIANT* pArray);VBScript cannot access an array of integers, so the returned value cannot be used with VBScript
Dim items As Variant
items = searchFilter.GetItemArray(0)
Dim i As Long
Dim docid As Long
For i = 0 To UBound(items)
docid = items(i)
...|
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.
|